﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace com.demo
{
    // TypeConverter指定用作此属性所绑定到的对象的转换器的类型。
    [System.ComponentModel.TypeConverter(typeof(ExpandableObjectConverter))]
    [System.ComponentModel.Editor( typeof( UploadProgressEditor), typeof( System.Drawing.Design.UITypeEditor))]
    public class UploadProgress
    {
        private int dueTime;
        private int period;
        private bool enabled;
        private string callbackFunc;

        public int DueTime
        {
            get { return this.dueTime; }
            set { this.dueTime = value; }
        }

        public int Period
        {
            get { return this.period; }
            set { this.period = value; }
        }

        public bool Enabled
        {
            get { return this.enabled; }
            set { this.enabled = value; }
        }

        public string CallbackFunc
        {
            get { return this.callbackFunc; }
            set { this.callbackFunc = value; }
        }

        public override string ToString()
        {
            return string.Empty;
        }
    }
}
